package com.fqgj.sentry.policy.domain.policy;

import com.fqgj.sentry.policy.enums.PolicyMatchingTypeEnum;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2017/7/17
 * Time: 下午7:09
 */
public class PolicyUpdate {
    /**
     * 名称
     */
    private String name;
    /**
     * 匹配类型 1：首次匹配 2最坏匹配 3 权重匹配
     */
    private PolicyMatchingTypeEnum matchingTypeEnum;
    /**
     * 字段 描述
     */
    private String columnName;

    /**
     * 基础分
     */
    private String baseScore;

    /**
     * 说明
     */
    private String info;

    private String weightRange;


    public String getBaseScore() {
        return baseScore;
    }

    public PolicyUpdate setBaseScore(String baseScore) {
        this.baseScore = baseScore;
        return this;
    }

    public String getName() {
        return name;
    }

    public PolicyUpdate setName(String name) {
        this.name = name;
        return this;
    }

    public PolicyMatchingTypeEnum getMatchingTypeEnum() {
        return matchingTypeEnum;
    }

    public PolicyUpdate setMatchingTypeEnum(PolicyMatchingTypeEnum matchingTypeEnum) {
        this.matchingTypeEnum = matchingTypeEnum;
        return this;
    }

    public String getColumnName() {
        return columnName;
    }

    public PolicyUpdate setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }

    public String getInfo() {
        return info;
    }

    public PolicyUpdate setInfo(String info) {
        this.info = info;
        return this;
    }

    public String getWeightRange() {
        return weightRange;
    }

    public PolicyUpdate setWeightRange(String weightRange) {
        this.weightRange = weightRange;
        return this;
    }
}
